<!-- list -->
<ul class="nav">
  <li class="hidden-folded padder m-t m-b-sm text-muted text-xs">
    <span><a href="#/" style="padding: 10px 20px;">个人工作台</a></span>
  </li>

  <li>
    <a href class="auto">      
      <span class="pull-right text-muted">
        <i class="fa fa-fw fa-angle-right text"></i>
        <i class="fa fa-fw fa-angle-down text-active"></i>
      </span>
      <i class="glyphicon glyphicon-stats icon text-primary-dker"></i>
      <span class="font-bold">导航模式</span>
    </a>
    <ul class="nav nav-sub dk">
      <li ui-sref-active="active">
        <a ui-sref="app.dashboard-v1">
          <b ng-if="app.settings.showNOne" class="label bg-info pull-right">N</b>
          <span>普通模式</span>
        </a>
      </li>
      <li ui-sref-active="active">
        <a ui-sref="app.dashboard-v2">
          <b ng-if="app.settings.showNTwo" class="label bg-info pull-right">N</b>
          <span>定制模式</span>
        </a>
      </li>
    </ul>
  </li>
  <li ng-if="app.power.powerOthergoodIn
    ||app.power.powerOthergoodOut
    ||app.power.powerTransfer
    ||app.power.powerInventory
    ||app.power.powerGoods" ng-class="{active:$state.includes('app.table')}">
    <a href class="auto">
      <span class="pull-right text-muted">
        <i class="fa fa-fw fa-angle-right text"></i>
        <i class="fa fa-fw fa-angle-down text-active"></i>
      </span>
      <i class="glyphicon glyphicon-list"></i>
      <span>仓库管理</span>
    </a>
    <ul class="nav nav-sub dk">
      <li ui-sref-active="active" ng-if="app.power.powerOthergoodIn">
        <a ui-sref="app.otherWarehousing">
          <span>其他入库单</span>
        </a>
      </li>
      <li ng-if="app.power.powerOthergoodOut" ui-sref-active="active">
        <a ui-sref="app.otherOutlets">
          <span>其他出库单</span>
        </a>
      </li>
      <li ng-if="app.power.powerTransfer" ui-sref-active="active">
        <a ui-sref="app.allocation">
          <span>货品调拨单</span>
        </a>
      </li>
      <li ng-if="app.power.powerInventory" ui-sref-active="active">
        <a ui-sref="app.goodsInventory">
          <span>货品盘点单</span>
        </a>
      </li>
      <li ng-if="app.power.powerGoods" ui-sref-active="active">
        <a ui-sref="app.goodsInformation">
          <span>货品资料</span>
        </a>
      </li>
    </ul>
  </li>
  <li ng-if="app.power.powerPurchasingOrder||app.power.powerPurchasingWarehousing||app.power.powerPurchasingReturn">
    <a href class="auto">
      <span class="pull-right text-muted">
        <i class="fa fa-fw fa-angle-right text"></i>
        <i class="fa fa-fw fa-angle-down text-active"></i>
      </span>
      <i class="glyphicon glyphicon-edit  icon-basket-loaded "></i>
      <span>采购管理</span>
    </a>
    <ul class="nav nav-sub dk">
      <li ng-if="app.power.powerPurchasingOrder" ui-sref-active="active">
        <a ui-sref="app.purchasingOrder">
          <span>采购订货单</span>
        </a>
      </li>
      <li ng-if="app.power.powerPurchasingWarehousing" ui-sref-active="active">
        <a ui-sref="app.purchasingWarehousing">
          <span>采购入库单</span>
        </a>
      </li>
      <li ng-if="app.power.powerPurchasingReturn" ui-sref-active="active">
        <a ui-sref="app.purchasingReturn">
          <span>采购退货单</span>
        </a>
      </li>
    </ul>
  </li>
  <li ng-if="app.power.powerProductionPlan || app.power.powerProcessProcess || app.power.powerCommodityAssembly || app.power.powerMerchandiseDisassembly" ng-class="{active:$state.includes('app.page')}">
    <a href class="auto">
      <span class="pull-right text-muted">
        <i class="fa fa-fw fa-angle-right text"></i>
        <i class="fa fa-fw fa-angle-down text-active"></i>
      </span>
      <i class="glyphicon glyphicon-edit  icon-shuffle "></i>
      <span>生产管理</span>
    </a>
    <ul class="nav nav-sub dk">
      <li ng-if="app.power.powerProductionPlan" ui-sref-active="active">
        <a ui-sref="app.productionPlan">
          <span>生产计划单</span>
        </a>
      </li>
      <li ng-if="app.power.powerProcessProcess" ui-sref-active="active">
        <a ui-sref="app.processingSheet">
          <span>工艺加工单</span>
        </a>
      </li>
      <li ng-if="app.power.powerCommodityAssembly" ui-sref-active="active">
        <a ui-sref="app.commodityAssembly">
          <span>商品组装单</span>
        </a>
      </li>
      <li ng-if="app.power.powerMerchandiseDisassembly" ui-sref-active="active">
        <a ui-sref="app.merchandiseDisassembly">
          <span>商品拆卸单</span>
        </a>
      </li>
    </ul>
  </li>
  <li ng-if="app.power.powerSaleOrder||app.power.powerSaleWarehousing||app.power.powerSaleReturn" ng-class="{active:$state.includes('app.ui')}">
    <a href class="auto">
      <span class="pull-right text-muted">
        <i class="fa fa-fw fa-angle-right text"></i>
        <i class="fa fa-fw fa-angle-down text-active"></i>
      </span>
      <i class="glyphicon glyphicon-edit icon-trophy"></i>
      <span>销售管理</span>
    </a>
    <ul class="nav nav-sub dk">
      <li ng-if="app.power.powerSaleOrder" ui-sref-active="active">
        <a ui-sref="app.saleOrder">
          <span>销售订货单</span>
        </a>
      </li>
      <li ng-if="app.power.powerSaleWarehousing" ui-sref-active="active">
        <a ui-sref="app.saleWarehousing">
          <span>销售出库单</span>
        </a>
      </li>
      <li ng-if="app.power.powerSaleReturn" ui-sref-active="active">
        <a ui-sref="app.saleReturn">
          <span>销售退货单</span>
        </a>
      </li>
    </ul>
  </li>
  <li ng-if="app.power.powerFlow" ui-sref-active="active">
    <a ui-sref="app.flowInfo">
      <i class="glyphicon glyphicon-calendar icon-graph"></i>
      <span class="font-bold">流程管理</span>
    </a>
  </li>
  <li ng-if="app.power.powerProductMix || app.power.powerUser
    ||app.power.powerDept
    ||app.power.powerPower
    ||app.power.powerCustomer
    ||app.power.powerSelect
    ||app.power.powerWarehouse
    ||app.power.powerGoodsType
    ||app.power.powerGoods
    ||app.power.powerInitialEntry"
      ng-class="{active:$state.includes('app.form')}">
    <a href class="auto">
      <span class="pull-right text-muted">
        <i class="fa fa-fw fa-angle-right text"></i>
        <i class="fa fa-fw fa-angle-down text-active"></i>
      </span>
      <i class="glyphicon glyphicon-edit  icon-users"></i>
      <span>基础设置</span>
    </a>
    <ul class="nav nav-sub dk">
      <li ng-if="app.power.powerDept" ui-sref-active="active">
        <a ui-sref="app.dept">
          <span>机构管理</span>
        </a>
      </li>
      <li ng-if="app.power.powerUser" ui-sref-active="active">
        <a ui-sref="app.users">
          <span>用户管理</span>
        </a>
      </li>
      <li ng-if="app.power.powerPower" ui-sref-active="active">
        <a ui-sref="app.power">
          <span>权限管理</span>
        </a>
      </li>
      <li ng-if="app.power.powerCustomer" ui-sref-active="active">
        <a ui-sref="app.customerList">
          <span>客户供应商</span>
        </a>
      </li>
      <li ng-if="app.power.powerSelect" ui-sref-active="active">
        <a ui-sref="app.allSelect">
          <span>枚举信息维护</span>
        </a>
      </li>
      <li ng-if="app.power.powerWarehouse" ui-sref-active="active">
        <a ui-sref="app.warehouse">
          <span>仓库管理</span>
        </a>
      </li>
      <li ng-if="app.power.powerGoodsType" ui-sref-active="active">
        <a ui-sref="app.goodsType">
          <span>货品类别</span>
        </a>
      </li>
      <li ng-if="app.power.powerGoods" ui-sref-active="active">
        <a ui-sref="app.goodsInformation">
          <span>货品资料</span>
        </a>
      </li>
      <li ng-if="app.power.powerInitialEntry" ui-sref-active="active">
        <a ui-sref="app.initialEntry">
          <span>期初录入单</span>
        </a>
      </li>
      <li ng-if="app.power.powerProductMix" ui-sref-active="active">
        <a ui-sref="app.productMix">
          <span>产品结构清单</span>
        </a>
      </li>
    </ul>
  </li>


  <li class="lineApp dk hidden-folded"></li>

  <li class="hidden-folded padder m-t m-b-sm text-muted text-xs">          
    <span translate="aside.nav.your_stuff.YOUR_STUFF">Your Stuff</span>
  </li>  
  <li>
    <a ng-click="app.userMessage()">
      <i class="icon-user icon text-success-lter"></i>
      <b class="badge bg-success pull-right">{{app.userName}}</b>
      <span>个人资料</span>
    </a>
  </li>
  <li>
    <a ng-click="app.changePassword()">
      <i class="icon-question icon"></i>
      <span>修改密码</span>
    </a>
  </li>
  <li>
    <a ui-sref="app.efficiency">
      <i class="icon-question icon"></i>
      <span>Chart</span>
    </a>
  </li>
</ul>
<!-- / list -->